package com.chenfeng.ego.search.service;

import java.io.IOException;

import org.apache.solr.client.solrj.SolrServerException;

import com.chenfeng.ego.commons.pojo.SearchResult;

public interface SolrService
{
	public String initSolr() throws SolrServerException, IOException;
	SearchResult selByQ(String q,int page,int rows) throws SolrServerException;
}
